#ifndef TRIANGLE_H
#define TRIANGLE_H

#include <vector>
#include "figurecontainer.h"

class Triangle : public Figure
{
public:
    Triangle();
    Triangle(std::vector<double> &data);
    void setCoord(std::vector<double> &data);
    std::vector<double> getCoord();
    void shift(double shiftX, double shiftY);
    typeFigure type();
    std::string dataToString();

private:
    double x0;
    double y0;
    double x1;
    double y1;
    double x2;
    double y2;
};

#endif // TRIANGLE_H
